package com.sugar.psych.assessment.module.business.controller.app.userpointsrecord.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.datatype.jsr310.deser.LocalDateTimeDeserializer;
import com.fasterxml.jackson.datatype.jsr310.ser.LocalDateTimeSerializer;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.time.LocalDateTime;
import java.util.List;

import static com.sugar.psych.assessment.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "App - 用户积分记录 Response VO")
@Data
public class AppUserPointsRespVO {

    @Schema(description = "总积分", requiredMode = Schema.RequiredMode.REQUIRED)
    private Integer totalPoints;

    @Schema(description = "积分记录", requiredMode = Schema.RequiredMode.REQUIRED)
    private List<AppUserPointsRecordRespVO> records;

}